<?php
use yii\helpers\Html;

/**
 * @var \yii\web\View $this
 * @var \yii\gii\Generator[] $generators
 * @var \yii\gii\Generator $activeGenerator
 * @var string $content
 */
/*$generators = Yii::$app->controller->module->generators;
$activeGenerator = Yii::$app->controller->generator;*/
?>
<?php $this->beginContent('@backroot/views/layouts/main.php'); ?>
<div class="row">
    <div class="col-md-2 col-sm-4">
        <div class="list-group">
            <?php
            /*foreach ($generators as $id => $generator) {
                $label = '<i class="glyphicon glyphicon-chevron-right"></i>' . Html::encode($generator->getName());
                echo Html::a($label, ['default/view', 'id' => $id], [
                    'class' => $generator === $activeGenerator ? 'list-group-item active' : 'list-group-item',
                ]);*/
                $label1 = Html::encode("交易定义配置") . '<i class="glyphicon glyphicon-chevron-right"></i>';
                echo Html::a($label1, ['maintran/index'], ['class' => 'list-group-item']);
                $label2 = Html::encode("交易字典配置") . '<i class="glyphicon glyphicon-chevron-right"></i>';
                echo Html::a($label2, ['pubtrandict/index'], ['class' => 'list-group-item']);
            ?>
        </div>
    </div>
    <div class="col-md-10 col-sm-8">
        <?= $content ?>
    </div>
</div>
<?php $this->endContent(); ?>
